package com.dingreading.cloud.admin.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 *  实体类。
 *
 * @author Administrator
 * @since 2024-10-30
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table("cooper_pay_order")
public class CooperPayOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    @Column(onInsertValue = "now()")
    private Date addTime;

    private Integer buyNum;

    private String buyerId;

    private String code;

    @Column(onInsertValue = "now()", onUpdateValue = "now()")
    private Date editTime;

    private String payChannelCode;

    private Double payPrice;

    private String payTime;

    private Integer payType;

    private String projectName;

    private Integer projectType;

    private String remark;

    private Integer status;

    private String tradeNo;

    private String tradeType;

    private LocalDateTime expireTime;

    private String orderUid;

    private String payName;

    private String saleName;

    private String userName;

    private String userPhone;

    private String corpName;

}
